package com.jhh.pay.heli.constant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by OnionMac on 2017/12/4.
 */
@Component
@PropertySource("classpath:application.yml")
@ConfigurationProperties(prefix = "baseConfig")
public class BaseConfig {
    /**
     * 代付的基础地址
     */
    private String baseUrlPay;

    /**代扣 基础地址
     */
    private String baseUrlWithhold;

    /**
     * 渠道名称
     */
    private String channelName;

    public String getBaseUrlPay() {
        return baseUrlPay;
    }

    public void setBaseUrlPay(String baseUrlPay) {
        this.baseUrlPay = baseUrlPay;
    }

    public String getBaseUrlWithhold() {
        return baseUrlWithhold;
    }

    public void setBaseUrlWithhold(String baseUrlWithhold) {
        this.baseUrlWithhold = baseUrlWithhold;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }
}
